package com.hqj.client.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 黄啟军
 * @version 1.0
 * @date 2020/10/12
 */
@Controller
@RequestMapping("/client")
@Api(tags = "博客客户端登录/注册页")
public class BlogLoginController {
    @ApiOperation("跳转登录页")
    @GetMapping("/blogLogin")
    public String blogLogin(){
        return "/page/BlogLogin";
    }
    @ApiOperation("跳到注册页面")
    @GetMapping("/blogRegister")
    public String blogRegister(){
        return "/page/BlogRegister";
    }
    @GetMapping("/blogIndex")
    @ApiOperation("跳到博客主页面")
    public String blogIndex(){
        return "/page/BlogIndex";
    }
    @ApiOperation("详情")
    @GetMapping("/blogDetails")
    public String blogDetails(){
        return "/page/BlogDetails";
    }
}
